//
//  ZTOrderModel.h
//  FD
//
//  Created by Yasin on 2018/10/23.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  自提订单model

#import <Foundation/Foundation.h>

@interface ZTOrderModel : NSObject

/**1.图标*/
@property (nonatomic,  copy) NSString *thumbnail;
/**2.店铺名字*/
@property (nonatomic,  copy) NSString *name;
/**3.钱*/
@property (nonatomic,  strong) NSNumber *actualAmount;
/**4.订单id*/
@property (nonatomic,  copy) NSString *orderId;
/**5.状态 当delivery_type=1时：0：待付款 1：待取餐 4：待评价 5：已评价 6：申请退款中 7：退款处理中 8：订单关闭*/
@property (nonatomic,  strong) NSNumber *status;
/**支付方式*/
@property (nonatomic, strong) NSNumber *paymentType;

/**6.订单份数*/
@property (nonatomic) NSInteger count;

/**7.创建时间*/
@property (nonatomic, strong) NSNumber *createTime;

//用于给自定义的变量进行赋值
/**shop 提取 图标和店铺名字*/
@property (nonatomic,  strong) NSDictionary *shop;

/**goodsList 用于计算订单分数*/
@property (nonatomic,  strong) NSArray *goodsList;

@end


/**
 {"event":"SUCCESS","data":[{"shop":{"thumbnail":"public/f6499e879cc24b649dccec89a2594001","name":"Edenhall","id":1},"createTime":1547792855000,"actualAmount":19.50,"goodsList":[{"thumbnail":"public/7a9fe539848344e0b4cace65a99fbeec","id":189,"title":"10\" Your Own Pizza","userOrderDetailId":630},{"thumbnail":"public/99966fdda85c4fc8b551fedc8359b5b8","id":158,"title":"Chicken & Mushroom Soup","userOrderDetailId":631}],"id":"201901180000001","paymentType":1,"status":0}],"describe":""}
 */
